package com.woniuxy.food.app.apiImpl;

import com.woniuxy.cloud.mall95.log.Log;
import com.woniuxy.food.client.foodskupicclient.FoodSkuPicManageClient;
import com.woniuxy.food.service.FoodSkuPicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;
import result.Result;

@RestController
public class FoodSkuPicManageClientApiImpl implements FoodSkuPicManageClient {
    @Autowired
    private FoodSkuPicService foodSkuPicService;
    @Override
    @Log("添加菜品sku图片")
    public Result insertFoodSkuPic(Integer storeId,Integer skuId, Integer[] ids) {
        foodSkuPicService.insertFoodSkuPic(storeId,skuId,ids);
        return Result.success();
    }
}
